#ifndef CODEEXERCISE_STATISTIC_H
#define CODEEXERCISE_STATISTIC_H
#include<iostream>
#include <string>
using namespace std;

class Statistic{
public:
    Statistic(){}
    Statistic(string sym);
    virtual ~Statistic(){};
    void feed_data(int64_t time_stamp, int64_t quality, int64_t price);
    void finish();

    string symbol;
    int64_t max_time_stamp;
    int64_t volume;
    int64_t total_trade;
    int64_t max_price;
    int64_t weighted_average_price;
    int64_t last_time_stamp;
};


#endif //CODEEXERCISE_STATISTIC_H
